#{extends 'common/supervisor.html' /}
#{set title:'微信送红包' /}
<div class="xn_c_contentwarp">
    <div class="xn_c_contentlist">
    #{include '/supervisor/activity/activityLeft.control'/}
        <div class="xn_c_content">
            <div class="xf_ht_tablelist">
                <div class="xn_c_content_top">

                #{table class:"xn_c_content_list",cellspacing:"0",cellpadding:"0",border:"0",tr_class_odd:"xn_tr_bj"}
                    #{tr}
                        #{td}活动名称#{/td}
                        #{td}活动内容#{/td}
                        #{td}红包总金额#{/td}
                        #{td}红包最小金额#{/td}
                        #{td}红包最大金额#{/td}
                        #{td}发送总人数#{/td}
                        #{td}状态#{/td}
                        #{td}备注#{/td}
                        #{td}创建时间#{/td}
                        #{td}操作#{/td}
                    #{/tr}
                    #{if redPacketVos?.isEmpty()}
                        #{tr}
                            #{td}没有数据#{/td}
                        #{/tr}
                    #{/if}
                    #{else }
                        #{list items:redPacketVos, as:'redPacketVo'}
                            #{tr}
                                #{td}${redPacketVo.actName}#{/td}
                                #{td}${redPacketVo.content}#{/td}
                                #{td}${redPacketVo.total}#{/td}
                                #{td}${redPacketVo.minValue}#{/td}
                                #{td}${redPacketVo.maxValue}#{/td}
                                #{td}${redPacketVo.totalNum}#{/td}
                                #{td}${redPacketVo.status}#{/td}
                                #{td}${redPacketVo.remark}#{/td}
                                #{td}${redPacketVo.createTime}#{/td}
                                #{td}
                                    <a href="@{supervisor.activity.RedPacketController.detail(redPacketVo.getId())}">编辑</a>
                                #{/td}
                            #{/tr}
                        #{/list}
                    #{/else}
                #{/table}
                </div>
                <div class="xn_c_content_bottom">
                    <a href="@{supervisor.activity.RedPacketController.detail(0)}">添加</a>
                </div>
            </div>
        </div>
    </div>
</div>